package com.mi.entity;

/**
 * Shippingaddress entity. @author MyEclipse Persistence Tools
 */

public class Shippingaddress implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private String realName;
	private String phone;
	private String addressTag;
	private String detailAddress;
	private String province;

	// Constructors

	/** default constructor */
	public Shippingaddress() {
	}

	/** full constructor */
	public Shippingaddress(User user, String realName, String phone, String addressTag, String detailAddress,
			String province) {
		this.user = user;
		this.realName = realName;
		this.phone = phone;
		this.addressTag = addressTag;
		this.detailAddress = detailAddress;
		this.province = province;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddressTag() {
		return this.addressTag;
	}

	public void setAddressTag(String addressTag) {
		this.addressTag = addressTag;
	}

	public String getDetailAddress() {
		return this.detailAddress;
	}

	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

}